from PyQt5 import QtCore, QtGui, QtWidgets
from PyQt5.QtGui import QIcon
from PyQt5.QtWidgets import QComboBox


class UI_MainWindow(object):
    def __init__(self):
        self.centralwidget = None

        self.tabWidget = None
        self.textBrowser = None

        self.tab_free = None
        self.groupBox_url = None
        self.label_url = None
        # self.pushButton_url = None
        self.lineEdit_url = None
        self.groupBox_trigger = None
        self.label_trigger = None
        self.label_trigger1 = None
        self.comboBox_trigger1 = None
        self.lineEdit_trigger1 = None
        self.label_trigger2 = None
        self.comboBox_trigger2 = None
        self.lineEdit_trigger2 = None
        self.groupBox_detect = None
        self.label_detect = None
        self.label_detect1 = None
        self.comboBox_detect = None
        self.lineEdit_detect1 = None
        self.lineEdit_detect2 = None
        self.pushButton_determine = None

        self.tab_performance = None
        self.groupBox_performance = None
        self.label_performance = None
        self.pushButton_performance = None
        self.pushButton_checkreports = None

        self.tab_hyh = None
        self.groupBox_unithyh = None
        self.label_unithyh = None
        self.pushButton_unithyh1 = None
        self.pushButton_unithyh2 = None
        self.groupBox_integrationhyh = None
        self.label_integrationhyh = None
        self.pushButton_integrationhyh1 = None
        self.pushButton_integrationhyh2 = None
        self.groupBox_combinatorialhyh = None
        self.label_combinatorialhyh = None
        self.pushButton_combinatorialhyh = None

        self.tab_xzy = None
        self.groupBox_unitxzy = None
        self.label_unitxzy = None
        self.pushButton_unitxzy1 = None
        self.pushButton_unitxzy2 = None
        self.groupBox_integrationxzy = None
        self.label_integrationxzy = None
        self.pushButton_integrationxzy1 = None
        self.pushButton_integrationxzy2 = None
        self.groupBox_combinatorialxzy = None
        self.label_combinatorialxzy = None
        self.pushButton_combinatorialxzy = None

        self.tab_lj = None
        self.groupBox_unitlj = None
        self.label_unitlj = None
        self.pushButton_unitlj1 = None
        self.pushButton_unitlj2 = None
        self.groupBox_integrationlj = None
        self.label_integrationlj = None
        self.pushButton_integrationlj1 = None
        self.pushButton_integrationlj2 = None
        self.groupBox_combinatoriallj = None
        self.label_combinatoriallj = None
        self.pushButton_combinatoriallj = None

        self.tab_qcr = None
        self.groupBox_unitqcr = None
        self.label_unitqcr = None
        self.pushButton_unitqcr1 = None
        self.pushButton_unitqcr2 = None
        self.groupBox_integrationqcr = None
        self.label_integrationqcr = None
        self.pushButton_integrationqcr1 = None
        self.pushButton_integrationqcr2 = None
        self.groupBox_combinatorialqcr = None
        self.label_combinatorialqcr = None
        self.pushButton_combinatoriaqcr = None

        self.tab_hjw = None
        self.groupBox_unithjw = None
        self.label_unithjw = None
        self.pushButton_unithjw1 = None
        self.pushButton_unithjw2 = None
        self.groupBox_integrationhjw = None
        self.label_integrationhjw = None
        self.pushButton_integrationhjw1 = None
        self.pushButton_integrationhjw2 = None
        self.groupBox_combinatorialhjw = None
        self.label_combinatorialhjw = None
        self.pushButton_combinatorialhjw = None

        self.tab_cyh = None
        self.groupBox_unitcyh = None
        self.label_unitcyh = None
        self.pushButton_unitcyh1 = None
        self.pushButton_unitcyh2 = None
        self.groupBox_integrationcyh = None
        self.label_integrationcyh = None
        self.pushButton_integrationcyh1 = None
        self.pushButton_integrationcyh2 = None
        self.groupBox_combinatorialcyh = None
        self.label_combinatorialcyh = None
        self.pushButton_combinatorialcyh = None

    def setupUi(self, MainWindow):
        # 主窗口
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(1000, 510)

        palette = QtGui.QPalette()
        palette.setColor(QtGui.QPalette.Background, QtGui.QColor("#66CCFF"))  # 颜色
        MainWindow.setPalette(palette)

        # 窗口中央部件
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")

        # 选项卡
        self.tabWidget = QtWidgets.QTabWidget(self.centralwidget)
        self.tabWidget.setGeometry(QtCore.QRect(10, 10, 580, 490))
        self.tabWidget.setObjectName("tabWidget")
        self.tabWidget.setStyleSheet("background-color: #FFFFFF")

        # 输出信息窗口
        self.textBrowser = QtWidgets.QTextBrowser(self.centralwidget)
        self.textBrowser.setGeometry(QtCore.QRect(600, 10, 400, 490))
        self.textBrowser.setObjectName("textBrowser")

        # # 自由测试标签栏
        self.tab_free = QtWidgets.QWidget()
        self.tab_free.setObjectName("tab_free")
        self.tab_free.setStyleSheet("background-color: #ADDDA2")
        self.tabWidget.addTab(self.tab_free, "")

        # url输入模块
        self.groupBox_url = QtWidgets.QGroupBox(self.tab_free)
        self.groupBox_url.setGeometry(QtCore.QRect(10, 10, 560, 120))
        self.groupBox_url.setObjectName("groupBox_url")
        self.groupBox_url.setStyleSheet("background-color: #00FA9A")  # 嫩绿色

        # url输入模块-标签
        self.label_url = QtWidgets.QLabel(self.groupBox_url)
        self.label_url.setGeometry(QtCore.QRect(10, 10, 100, 20))
        self.label_url.setObjectName("label_url")

        # url输入模块-url输入栏
        self.lineEdit_url = QtWidgets.QLineEdit(self.groupBox_url)
        self.lineEdit_url.setGeometry(QtCore.QRect(10, 50, 250, 50))
        self.lineEdit_url.setObjectName("lineEdit_tablename")
        self.lineEdit_url.setPlaceholderText("请输入url")
        self.lineEdit_url.setStyleSheet("background-color: #ffffff")

        # # 选择检测控件模块-确定按钮
        # self.pushButton_url = QtWidgets.QPushButton(self.groupBox_url)
        # self.pushButton_url.setGeometry(QtCore.QRect(270, 30, 140, 50))
        # self.pushButton_url.setObjectName("pushButton_url")
        # self.pushButton_url.setIcon(QIcon("./icons/test.png"))
        # self.pushButton_url.setStyleSheet("background-color: #ffffff")

        # 选择触发控件模块
        self.groupBox_trigger = QtWidgets.QGroupBox(self.tab_free)
        self.groupBox_trigger.setGeometry(QtCore.QRect(10, 140, 270, 320))
        self.groupBox_trigger.setObjectName("groupBox_trigger")
        self.groupBox_trigger.setStyleSheet("background-color: #00FA9A")  # 嫩绿色

        # 选择触发控件模块-标签
        self.label_trigger = QtWidgets.QLabel(self.groupBox_trigger)
        self.label_trigger.setGeometry(QtCore.QRect(10, 10, 200, 20))
        self.label_trigger.setObjectName("label_trigger")

        # 选择触发控件模块-下拉框选择id/xpath
        self.label_trigger1 = QtWidgets.QLabel(self.groupBox_trigger)
        self.label_trigger1.setGeometry(QtCore.QRect(10, 50, 150, 20))
        self.label_trigger1.setObjectName("label_trigger1")
        self.comboBox_trigger1 = QComboBox(self.groupBox_trigger)
        self.comboBox_trigger1.setGeometry(QtCore.QRect(10, 80, 250, 30))
        self.comboBox_trigger1.setObjectName("comboBox_trigger1")
        self.comboBox_trigger1.addItem("")
        self.comboBox_trigger1.addItem("id")
        self.comboBox_trigger1.addItem("xpath")
        self.comboBox_trigger1.setStyleSheet("background-color: #ffffff")

        # 选择触发控件模块-输入栏 输入id/xpath
        self.lineEdit_trigger1 = QtWidgets.QLineEdit(self.groupBox_trigger)
        self.lineEdit_trigger1.setGeometry(QtCore.QRect(10, 120, 250, 30))
        self.lineEdit_trigger1.setObjectName("lineEdit_trigger1")
        self.lineEdit_trigger1.setPlaceholderText("请选择搜索方式")
        self.lineEdit_trigger1.setStyleSheet("background-color: #ffffff")

        # 选择触发控件模块-下拉框选择点击/输入文字
        self.label_trigger2 = QtWidgets.QLabel(self.groupBox_trigger)
        self.label_trigger2.setGeometry(QtCore.QRect(10, 160, 150, 20))
        self.label_trigger2.setObjectName("label_trigger2")
        self.comboBox_trigger2 = QComboBox(self.groupBox_trigger)
        self.comboBox_trigger2.setGeometry(QtCore.QRect(10, 190, 250, 30))
        self.comboBox_trigger2.setObjectName("comboBox_trigger1")
        self.comboBox_trigger2.addItem("")
        self.comboBox_trigger2.addItem("点击")
        self.comboBox_trigger2.addItem("输入文字")
        self.comboBox_trigger2.setStyleSheet("background-color: #ffffff")

        # 选择触发控件模块-输入栏 输入要发送的信息
        self.lineEdit_trigger2 = QtWidgets.QLineEdit(self.groupBox_trigger)
        self.lineEdit_trigger2.setGeometry(QtCore.QRect(10, 230, 250, 30))
        self.lineEdit_trigger2.setObjectName("lineEdit_trigger2")
        self.lineEdit_trigger2.setStyleSheet("background-color: #CCCCCC")
        self.lineEdit_trigger2.setReadOnly(True)

        # 选择检测控件模块
        self.groupBox_detect = QtWidgets.QGroupBox(self.tab_free)
        self.groupBox_detect.setGeometry(QtCore.QRect(290, 140, 270, 320))
        self.groupBox_detect.setObjectName("groupBox_detect")
        self.groupBox_detect.setStyleSheet("background-color: #00FA9A")  # 嫩绿色

        # 选择检测控件模块-标签
        self.label_detect= QtWidgets.QLabel(self.groupBox_detect)
        self.label_detect.setGeometry(QtCore.QRect(10, 10, 200, 20))
        self.label_detect.setObjectName("label_detect")

        # 选择检测控件模块-下拉框选择id/xpath/url
        self.label_detect1= QtWidgets.QLabel(self.groupBox_detect)
        self.label_detect1.setGeometry(QtCore.QRect(10, 50, 150, 20))
        self.label_detect1.setObjectName("label_detect1")
        self.comboBox_detect = QComboBox(self.groupBox_detect)
        self.comboBox_detect.setGeometry(QtCore.QRect(10, 80, 250, 30))
        self.comboBox_detect.setObjectName("comboBox_detect")
        self.comboBox_detect.addItem("")
        self.comboBox_detect.addItem("id")
        self.comboBox_detect.addItem("xpath")
        self.comboBox_detect.addItem("url")
        self.comboBox_detect.setStyleSheet("background-color: #ffffff")

        # 选择检测控件模块-输入栏 输入id/xpath/url
        self.lineEdit_detect1 = QtWidgets.QLineEdit(self.groupBox_detect)
        self.lineEdit_detect1.setGeometry(QtCore.QRect(10, 120, 250, 30))
        self.lineEdit_detect1.setObjectName("lineEdit_detect1")
        self.lineEdit_detect1.setPlaceholderText("请选择搜索方式")
        self.lineEdit_detect1.setStyleSheet("background-color: #ffffff")

        # 选择检测控件模块-输入栏-输入预期内容
        self.lineEdit_detect2 = QtWidgets.QLineEdit(self.groupBox_detect)
        self.lineEdit_detect2.setGeometry(QtCore.QRect(10, 160, 250, 30))
        self.lineEdit_detect2.setObjectName("lineEdit_detect2")
        self.lineEdit_detect2.setPlaceholderText("请输入expected内容")
        self.lineEdit_detect2.setStyleSheet("background-color: #ffffff")

        # 选择检测控件模块-确定按钮
        self.pushButton_determine = QtWidgets.QPushButton(self.groupBox_detect)
        self.pushButton_determine.setGeometry(QtCore.QRect(60, 200, 140, 50))
        self.pushButton_determine.setObjectName("pushButton_determine")
        self.pushButton_determine.setIcon(QIcon("./icons/test.png"))
        self.pushButton_determine.setStyleSheet("background-color: #ffffff")

        # # 性能测试标签栏
        self.tab_performance = QtWidgets.QWidget()
        self.tab_performance.setObjectName("tab_performance")
        self.tab_performance.setStyleSheet("background-color: #ADDDA2")
        self.tabWidget.addTab(self.tab_performance, "")

        # 性能测试模块
        self.groupBox_performance = QtWidgets.QGroupBox(self.tab_performance)
        self.groupBox_performance.setGeometry(QtCore.QRect(10, 10, 560, 450))
        self.groupBox_performance.setObjectName("groupBox_performance")
        self.groupBox_performance.setStyleSheet("background-color: #FFC0CB")  # 粉色

        # 性能测试模块-标签
        self.label_performance = QtWidgets.QLabel(self.groupBox_performance)
        self.label_performance.setGeometry(QtCore.QRect(10, 10, 100, 20))
        self.label_performance.setObjectName("label_performance")

        # 性能测试模块-测试按钮
        self.pushButton_performance = QtWidgets.QPushButton(self.groupBox_performance)
        self.pushButton_performance.setGeometry(QtCore.QRect(50, 50, 100, 50))
        self.pushButton_performance.setObjectName("pushButton_performance")
        self.pushButton_performance.setIcon(QIcon("./icons/test.png"))

        # 性能测试模块-查看报告
        self.pushButton_checkreports = QtWidgets.QPushButton(self.groupBox_performance)
        self.pushButton_checkreports.setGeometry(QtCore.QRect(180, 50, 100, 50))
        self.pushButton_checkreports.setObjectName("pushButton_checkreports")
        self.pushButton_checkreports.setIcon(QIcon("./icons/test.png"))

        # # 胡宇桁标签栏
        self.tab_hyh = QtWidgets.QWidget()
        self.tab_hyh.setObjectName("tab_hyh")
        self.tab_hyh.setStyleSheet("background-color: #ADDDA2")
        self.tabWidget.addTab(self.tab_hyh, "")

        # 胡宇桁-单元测试模块
        self.groupBox_unithyh = QtWidgets.QGroupBox(self.tab_hyh)
        self.groupBox_unithyh.setGeometry(QtCore.QRect(10, 10, 580, 230))
        self.groupBox_unithyh.setObjectName("groupBox_unithyh")
        self.groupBox_unithyh.setStyleSheet("background-color: #00FFFF")  # 青色

        # 胡宇桁-单元测试模块-标签
        self.label_unithyh = QtWidgets.QLabel(self.groupBox_unithyh)
        self.label_unithyh.setGeometry(QtCore.QRect(10, 10, 100, 20))
        self.label_unithyh.setObjectName("label_unithyh")

        # 胡宇桁-单元测试模块-测试按钮1
        self.pushButton_unithyh1 = QtWidgets.QPushButton(self.groupBox_unithyh)
        self.pushButton_unithyh1.setGeometry(QtCore.QRect(50, 50, 100, 50))
        self.pushButton_unithyh1.setObjectName("pushButton_unithyh1")
        self.pushButton_unithyh1.setIcon(QIcon("./icons/test.png"))

        # 胡宇桁-单元测试模块-测试按钮2
        self.pushButton_unithyh2 = QtWidgets.QPushButton(self.groupBox_unithyh)
        self.pushButton_unithyh2.setGeometry(QtCore.QRect(180, 50, 100, 50))
        self.pushButton_unithyh2.setObjectName("pushButton_unithyh2")
        self.pushButton_unithyh2.setIcon(QIcon("./icons/test.png"))

        # 胡宇桁-集成测试模块
        self.groupBox_integrationhyh = QtWidgets.QGroupBox(self.tab_hyh)
        self.groupBox_integrationhyh.setGeometry(QtCore.QRect(10, 250, 300, 230))
        self.groupBox_integrationhyh.setObjectName("groupBox_integrationhyh")
        self.groupBox_integrationhyh.setStyleSheet("background-color: #00FFFF")  # 青色

        # 胡宇桁-集成测试模块-标签
        self.label_integrationhyh = QtWidgets.QLabel(self.groupBox_integrationhyh)
        self.label_integrationhyh.setGeometry(QtCore.QRect(10, 10, 100, 20))
        self.label_integrationhyh.setObjectName("label_integrationhyh")

        # 胡宇桁-集成测试模块-测试按钮1
        self.pushButton_integrationhyh1 = QtWidgets.QPushButton(self.groupBox_integrationhyh)
        self.pushButton_integrationhyh1.setGeometry(QtCore.QRect(50, 50, 100, 50))
        self.pushButton_integrationhyh1.setObjectName("pushButton_integrationhyh1")
        self.pushButton_integrationhyh1.setIcon(QIcon("./icons/test.png"))

        # 胡宇桁-集成测试模块-测试按钮2
        self.pushButton_integrationhyh2 = QtWidgets.QPushButton(self.groupBox_integrationhyh)
        self.pushButton_integrationhyh2.setGeometry(QtCore.QRect(180, 50, 100, 50))
        self.pushButton_integrationhyh2.setObjectName("pushButton_integrationhyh2")
        self.pushButton_integrationhyh2.setIcon(QIcon("./icons/test.png"))

        # 胡宇桁-组合测试模块
        self.groupBox_combinatorialhyh = QtWidgets.QGroupBox(self.tab_hyh)
        self.groupBox_combinatorialhyh.setGeometry(QtCore.QRect(320, 250, 270, 230))
        self.groupBox_combinatorialhyh.setObjectName("groupBox_combinatorialhyh")
        self.groupBox_combinatorialhyh.setStyleSheet("background-color: #00FFFF")  # 青色

        # 胡宇桁-组合测试模块-标签
        self.label_combinatorialhyh = QtWidgets.QLabel(self.groupBox_combinatorialhyh)
        self.label_combinatorialhyh.setGeometry(QtCore.QRect(10, 10, 100, 20))
        self.label_combinatorialhyh.setObjectName("label_combinatorialhyh")

        # 胡宇桁-组合测试模块-测试按钮
        self.pushButton_combinatorialhyh = QtWidgets.QPushButton(self.groupBox_combinatorialhyh)
        self.pushButton_combinatorialhyh.setGeometry(QtCore.QRect(50, 50, 100, 50))
        self.pushButton_combinatorialhyh.setObjectName("pushButton_combinatorialhyh")
        self.pushButton_combinatorialhyh.setIcon(QIcon("./icons/test.png"))

        # # 许中洋标签栏
        self.tab_xzy = QtWidgets.QWidget()
        self.tab_xzy.setObjectName("tab_xzy")
        self.tab_xzy.setStyleSheet("background-color: #ADDDA2")
        self.tabWidget.addTab(self.tab_xzy, "")

        # 许中洋-单元测试模块
        self.groupBox_unitxzy = QtWidgets.QGroupBox(self.tab_xzy)
        self.groupBox_unitxzy.setGeometry(QtCore.QRect(10, 10, 580, 230))
        self.groupBox_unitxzy.setObjectName("groupBox_unitxzy")
        self.groupBox_unitxzy.setStyleSheet("background-color: #F4A460")  # 沙棕色

        # 许中洋-单元测试模块-标签
        self.label_unitxzy = QtWidgets.QLabel(self.groupBox_unitxzy)
        self.label_unitxzy.setGeometry(QtCore.QRect(10, 10, 100, 20))
        self.label_unitxzy.setObjectName("label_unitxzy")

        # 许中洋-单元测试模块-测试按钮1
        self.pushButton_unitxzy1 = QtWidgets.QPushButton(self.groupBox_unitxzy)
        self.pushButton_unitxzy1.setGeometry(QtCore.QRect(50, 50, 100, 50))
        self.pushButton_unitxzy1.setObjectName("pushButton_unitxzy1")
        self.pushButton_unitxzy1.setIcon(QIcon("./icons/test.png"))

        # 许中洋-单元测试模块-测试按钮2
        self.pushButton_unitxzy2 = QtWidgets.QPushButton(self.groupBox_unitxzy)
        self.pushButton_unitxzy2.setGeometry(QtCore.QRect(180, 50, 100, 50))
        self.pushButton_unitxzy2.setObjectName("pushButton_unitxzy2")
        self.pushButton_unitxzy2.setIcon(QIcon("./icons/test.png"))

        # 许中洋-集成测试模块
        self.groupBox_integrationxzy = QtWidgets.QGroupBox(self.tab_xzy)
        self.groupBox_integrationxzy.setGeometry(QtCore.QRect(10, 250, 300, 230))
        self.groupBox_integrationxzy.setObjectName("groupBox_integrationxzy")
        self.groupBox_integrationxzy.setStyleSheet("background-color: #F4A460")  # 沙棕色

        # 许中洋-集成测试模块-标签
        self.label_integrationxzy = QtWidgets.QLabel(self.groupBox_integrationxzy)
        self.label_integrationxzy.setGeometry(QtCore.QRect(10, 10, 100, 20))
        self.label_integrationxzy.setObjectName("label_integrationxzy")

        # 许中洋-集成测试模块-测试按钮1
        self.pushButton_integrationxzy1 = QtWidgets.QPushButton(self.groupBox_integrationxzy)
        self.pushButton_integrationxzy1.setGeometry(QtCore.QRect(50, 50, 100, 50))
        self.pushButton_integrationxzy1.setObjectName("pushButton_integrationxzy1")
        self.pushButton_integrationxzy1.setIcon(QIcon("./icons/test.png"))

        # 许中洋-集成测试模块-测试按钮2
        self.pushButton_integrationxzy2 = QtWidgets.QPushButton(self.groupBox_integrationxzy)
        self.pushButton_integrationxzy2.setGeometry(QtCore.QRect(180, 50, 100, 50))
        self.pushButton_integrationxzy2.setObjectName("pushButton_integrationxzy2")
        self.pushButton_integrationxzy2.setIcon(QIcon("./icons/test.png"))

        # 许中洋-组合测试模块
        self.groupBox_combinatorialxzy = QtWidgets.QGroupBox(self.tab_xzy)
        self.groupBox_combinatorialxzy.setGeometry(QtCore.QRect(320, 250, 270, 230))
        self.groupBox_combinatorialxzy.setObjectName("groupBox_combinatorialxzy")
        self.groupBox_combinatorialxzy.setStyleSheet("background-color: #F4A460")  # 沙棕色

        # 许中洋-组合测试模块-标签
        self.label_combinatorialxzy = QtWidgets.QLabel(self.groupBox_combinatorialxzy)
        self.label_combinatorialxzy.setGeometry(QtCore.QRect(10, 10, 100, 20))
        self.label_combinatorialxzy.setObjectName("label_combinatorialxzy")

        # 许中洋-组合测试模块-测试按钮
        self.pushButton_combinatorialxzy = QtWidgets.QPushButton(self.groupBox_combinatorialxzy)
        self.pushButton_combinatorialxzy.setGeometry(QtCore.QRect(50, 50, 100, 50))
        self.pushButton_combinatorialxzy.setObjectName("pushButton_combinatorialxzy")
        self.pushButton_combinatorialxzy.setIcon(QIcon("./icons/test.png"))

        # # 罗健标签栏
        self.tab_lj = QtWidgets.QWidget()
        self.tab_lj.setObjectName("tab_lj")
        self.tab_lj.setStyleSheet("background-color: #ADDDA2")
        self.tabWidget.addTab(self.tab_lj, "")

        # 罗健-单元测试模块
        self.groupBox_unitlj = QtWidgets.QGroupBox(self.tab_lj)
        self.groupBox_unitlj.setGeometry(QtCore.QRect(10, 10, 580, 230))
        self.groupBox_unitlj.setObjectName("groupBox_unitlj")
        self.groupBox_unitlj.setStyleSheet("background-color: #DA70D6")  # 淡紫色

        # 罗健-单元测试模块-标签
        self.label_unitlj = QtWidgets.QLabel(self.groupBox_unitlj)
        self.label_unitlj.setGeometry(QtCore.QRect(10, 10, 100, 20))
        self.label_unitlj.setObjectName("label_unitlj")

        # 罗健-单元测试模块-测试按钮1
        self.pushButton_unitlj1 = QtWidgets.QPushButton(self.groupBox_unitlj)
        self.pushButton_unitlj1.setGeometry(QtCore.QRect(50, 50, 100, 50))
        self.pushButton_unitlj1.setObjectName("pushButton_unitlj1")
        self.pushButton_unitlj1.setIcon(QIcon("./icons/test.png"))

        # 罗健-单元测试模块-测试按钮2
        self.pushButton_unitlj2 = QtWidgets.QPushButton(self.groupBox_unitlj)
        self.pushButton_unitlj2.setGeometry(QtCore.QRect(180, 50, 100, 50))
        self.pushButton_unitlj2.setObjectName("pushButton_unitlj2")
        self.pushButton_unitlj2.setIcon(QIcon("./icons/test.png"))

        # 罗健-集成测试模块
        self.groupBox_integrationlj = QtWidgets.QGroupBox(self.tab_lj)
        self.groupBox_integrationlj.setGeometry(QtCore.QRect(10, 250, 300, 230))
        self.groupBox_integrationlj.setObjectName("groupBox_integrationlj")
        self.groupBox_integrationlj.setStyleSheet("background-color: #DA70D6")  # 淡紫色

        # 罗健-集成测试模块-标签
        self.label_integrationlj = QtWidgets.QLabel(self.groupBox_integrationlj)
        self.label_integrationlj.setGeometry(QtCore.QRect(10, 10, 100, 20))
        self.label_integrationlj.setObjectName("label_integrationlj")

        # 罗健-集成测试模块-测试按钮1
        self.pushButton_integrationlj1 = QtWidgets.QPushButton(self.groupBox_integrationlj)
        self.pushButton_integrationlj1.setGeometry(QtCore.QRect(50, 50, 100, 50))
        self.pushButton_integrationlj1.setObjectName("pushButton_integrationlj1")
        self.pushButton_integrationlj1.setIcon(QIcon("./icons/test.png"))

        # 罗健-集成测试模块-测试按钮2
        self.pushButton_integrationlj2 = QtWidgets.QPushButton(self.groupBox_integrationlj)
        self.pushButton_integrationlj2.setGeometry(QtCore.QRect(180, 50, 100, 50))
        self.pushButton_integrationlj2.setObjectName("pushButton_integrationlj2")
        self.pushButton_integrationlj2.setIcon(QIcon("./icons/test.png"))

        # 罗健-组合测试模块
        self.groupBox_combinatoriallj = QtWidgets.QGroupBox(self.tab_lj)
        self.groupBox_combinatoriallj.setGeometry(QtCore.QRect(320, 250, 270, 230))
        self.groupBox_combinatoriallj.setObjectName("groupBox_combinatoriallj")
        self.groupBox_combinatoriallj.setStyleSheet("background-color: #DA70D6")  # 淡紫色

        # 罗健-组合测试模块-标签
        self.label_combinatoriallj = QtWidgets.QLabel(self.groupBox_combinatoriallj)
        self.label_combinatoriallj.setGeometry(QtCore.QRect(10, 10, 100, 20))
        self.label_combinatoriallj.setObjectName("label_combinatoriallj")

        # 罗健-组合测试模块-测试按钮
        self.pushButton_combinatoriallj = QtWidgets.QPushButton(self.groupBox_combinatoriallj)
        self.pushButton_combinatoriallj.setGeometry(QtCore.QRect(50, 50, 100, 50))
        self.pushButton_combinatoriallj.setObjectName("pushButton_combinatoriallj")
        self.pushButton_combinatoriallj.setIcon(QIcon("./icons/test.png"))

        # # 乔崇睿标签栏
        self.tab_qcr = QtWidgets.QWidget()
        self.tab_qcr.setObjectName("tab_qcr")
        self.tab_qcr.setStyleSheet("background-color: #ADDDA2")
        self.tabWidget.addTab(self.tab_qcr, "")

        # 乔崇睿-单元测试模块
        self.groupBox_unitqcr = QtWidgets.QGroupBox(self.tab_qcr)
        self.groupBox_unitqcr.setGeometry(QtCore.QRect(10, 10, 580, 230))
        self.groupBox_unitqcr.setObjectName("groupBox_unitqcr")
        self.groupBox_unitqcr.setStyleSheet("background-color: #00C78C")  # 土耳其蓝

        # 乔崇睿-单元测试模块-标签
        self.label_unitqcr = QtWidgets.QLabel(self.groupBox_unitqcr)
        self.label_unitqcr.setGeometry(QtCore.QRect(10, 10, 100, 20))
        self.label_unitqcr.setObjectName("label_unitqcr")

        # 乔崇睿-单元测试模块-测试按钮1
        self.pushButton_unitqcr1 = QtWidgets.QPushButton(self.groupBox_unitqcr)
        self.pushButton_unitqcr1.setGeometry(QtCore.QRect(50, 50, 100, 50))
        self.pushButton_unitqcr1.setObjectName("pushButton_unitqcr1")
        self.pushButton_unitqcr1.setIcon(QIcon("./icons/test.png"))

        # 乔崇睿-单元测试模块-测试按钮2
        self.pushButton_unitqcr2 = QtWidgets.QPushButton(self.groupBox_unitqcr)
        self.pushButton_unitqcr2.setGeometry(QtCore.QRect(180, 50, 100, 50))
        self.pushButton_unitqcr2.setObjectName("pushButton_unitqcr2")
        self.pushButton_unitqcr2.setIcon(QIcon("./icons/test.png"))

        # 乔崇睿-集成测试模块
        self.groupBox_integrationqcr = QtWidgets.QGroupBox(self.tab_qcr)
        self.groupBox_integrationqcr.setGeometry(QtCore.QRect(10, 250, 300, 230))
        self.groupBox_integrationqcr.setObjectName("groupBox_integrationqcr")
        self.groupBox_integrationqcr.setStyleSheet("background-color: #00C78C")  # 土耳其蓝

        # 乔崇睿-集成测试模块-标签
        self.label_integrationqcr = QtWidgets.QLabel(self.groupBox_integrationqcr)
        self.label_integrationqcr.setGeometry(QtCore.QRect(10, 10, 100, 20))
        self.label_integrationqcr.setObjectName("label_integrationqcr")

        # 乔崇睿-集成测试模块-测试按钮1
        self.pushButton_integrationqcr1 = QtWidgets.QPushButton(self.groupBox_integrationqcr)
        self.pushButton_integrationqcr1.setGeometry(QtCore.QRect(50, 50, 100, 50))
        self.pushButton_integrationqcr1.setObjectName("pushButton_integrationqcr1")
        self.pushButton_integrationqcr1.setIcon(QIcon("./icons/test.png"))

        # 乔崇睿-集成测试模块-测试按钮2
        self.pushButton_integrationqcr2 = QtWidgets.QPushButton(self.groupBox_integrationqcr)
        self.pushButton_integrationqcr2.setGeometry(QtCore.QRect(180, 50, 100, 50))
        self.pushButton_integrationqcr2.setObjectName("pushButton_integrationqcr2")
        self.pushButton_integrationqcr2.setIcon(QIcon("./icons/test.png"))

        # 乔崇睿-组合测试模块
        self.groupBox_combinatorialqcr = QtWidgets.QGroupBox(self.tab_qcr)
        self.groupBox_combinatorialqcr.setGeometry(QtCore.QRect(320, 250, 270, 230))
        self.groupBox_combinatorialqcr.setObjectName("groupBox_combinatorialqcr")
        self.groupBox_combinatorialqcr.setStyleSheet("background-color: #00C78C")  # 土耳其蓝

        # 乔崇睿-组合测试模块-标签
        self.label_combinatorialqcr = QtWidgets.QLabel(self.groupBox_combinatorialqcr)
        self.label_combinatorialqcr.setGeometry(QtCore.QRect(10, 10, 100, 20))
        self.label_combinatorialqcr.setObjectName("label_combinatorialqcr")

        # 乔崇睿-组合测试模块-测试按钮
        self.pushButton_combinatorialqcr = QtWidgets.QPushButton(self.groupBox_combinatorialqcr)
        self.pushButton_combinatorialqcr.setGeometry(QtCore.QRect(50, 50, 100, 50))
        self.pushButton_combinatorialqcr.setObjectName("pushButton_combinatorialqcr")
        self.pushButton_combinatorialqcr.setIcon(QIcon("./icons/test.png"))

        # # 胡菁文标签栏
        self.tab_hjw = QtWidgets.QWidget()
        self.tab_hjw.setObjectName("tab_hjw")
        self.tab_hjw.setStyleSheet("background-color: #ADDDA2")
        self.tabWidget.addTab(self.tab_hjw, "")

        # 胡菁文-单元测试模块
        self.groupBox_unithjw = QtWidgets.QGroupBox(self.tab_hjw)
        self.groupBox_unithjw.setGeometry(QtCore.QRect(10, 10, 580, 230))
        self.groupBox_unithjw.setObjectName("groupBox_unithjw")
        self.groupBox_unithjw.setStyleSheet("background-color: #FFFFCD")  # 象牙灰

        # 胡菁文-单元测试模块-标签
        self.label_unithjw = QtWidgets.QLabel(self.groupBox_unithjw)
        self.label_unithjw.setGeometry(QtCore.QRect(10, 10, 100, 20))
        self.label_unithjw.setObjectName("label_unithjw")

        # 胡菁文-单元测试模块-测试按钮1
        self.pushButton_unithjw1 = QtWidgets.QPushButton(self.groupBox_unithjw)
        self.pushButton_unithjw1.setGeometry(QtCore.QRect(50, 50, 100, 50))
        self.pushButton_unithjw1.setObjectName("pushButton_unithjw1")
        self.pushButton_unithjw1.setIcon(QIcon("./icons/test.png"))

        # 胡菁文-单元测试模块-测试按钮2
        self.pushButton_unithjw2 = QtWidgets.QPushButton(self.groupBox_unithjw)
        self.pushButton_unithjw2.setGeometry(QtCore.QRect(180, 50, 100, 50))
        self.pushButton_unithjw2.setObjectName("pushButton_unithjw2")
        self.pushButton_unithjw2.setIcon(QIcon("./icons/test.png"))

        # 胡菁文-集成测试模块
        self.groupBox_integrationhjw = QtWidgets.QGroupBox(self.tab_hjw)
        self.groupBox_integrationhjw.setGeometry(QtCore.QRect(10, 250, 300, 230))
        self.groupBox_integrationhjw.setObjectName("groupBox_integrationhjw")
        self.groupBox_integrationhjw.setStyleSheet("background-color: #FFFFCD")  # 象牙灰

        # 胡菁文-集成测试模块-标签
        self.label_integrationhjw = QtWidgets.QLabel(self.groupBox_integrationhjw)
        self.label_integrationhjw.setGeometry(QtCore.QRect(10, 10, 100, 20))
        self.label_integrationhjw.setObjectName("label_integrationhjw")

        # 胡菁文-集成测试模块-测试按钮1
        self.pushButton_integrationhjw1 = QtWidgets.QPushButton(self.groupBox_integrationhjw)
        self.pushButton_integrationhjw1.setGeometry(QtCore.QRect(50, 50, 100, 50))
        self.pushButton_integrationhjw1.setObjectName("pushButton_integrationhjw1")
        self.pushButton_integrationhjw1.setIcon(QIcon("./icons/test.png"))

        # 胡菁文-集成测试模块-测试按钮2
        self.pushButton_integrationhjw2 = QtWidgets.QPushButton(self.groupBox_integrationhjw)
        self.pushButton_integrationhjw2.setGeometry(QtCore.QRect(180, 50, 100, 50))
        self.pushButton_integrationhjw2.setObjectName("pushButton_integrationhjw2")

        # 胡菁文-组合测试模块
        self.pushButton_integrationhjw2.setIcon(QIcon("./icons/test.png"))
        self.groupBox_combinatorialhjw = QtWidgets.QGroupBox(self.tab_hjw)
        self.groupBox_combinatorialhjw.setGeometry(QtCore.QRect(320, 250, 270, 230))
        self.groupBox_combinatorialhjw.setObjectName("groupBox_combinatorialhjw")
        self.groupBox_combinatorialhjw.setStyleSheet("background-color: #FFFFCD")  # 象牙灰

        # 胡菁文-组合测试模块-标签
        self.label_combinatorialhjw = QtWidgets.QLabel(self.groupBox_combinatorialhjw)
        self.label_combinatorialhjw.setGeometry(QtCore.QRect(10, 10, 100, 20))
        self.label_combinatorialhjw.setObjectName("label_combinatorialhjw")

        # 胡菁文-组合测试模块-测试按钮
        self.pushButton_combinatorialhjw = QtWidgets.QPushButton(self.groupBox_combinatorialhjw)
        self.pushButton_combinatorialhjw.setGeometry(QtCore.QRect(50, 50, 100, 50))
        self.pushButton_combinatorialhjw.setObjectName("pushButton_combinatorialhjw")
        self.pushButton_combinatorialhjw.setIcon(QIcon("./icons/test.png"))

        # # 程一航标签栏
        self.tab_cyh = QtWidgets.QWidget()
        self.tab_cyh.setObjectName("tab_cyh")
        self.tab_cyh.setStyleSheet("background-color: #ADDDA2")
        self.tabWidget.addTab(self.tab_cyh, "")

        # 程一航-单元测试模块
        self.groupBox_unitcyh = QtWidgets.QGroupBox(self.tab_cyh)
        self.groupBox_unitcyh.setGeometry(QtCore.QRect(10, 10, 580, 230))
        self.groupBox_unitcyh.setObjectName("groupBox_unitcyh")
        self.groupBox_unitcyh.setStyleSheet("background-color: #FFE384")  # 粉黄

        # 程一航-单元测试模块-标签
        self.label_unitcyh = QtWidgets.QLabel(self.groupBox_unitcyh)
        self.label_unitcyh.setGeometry(QtCore.QRect(10, 10, 100, 20))
        self.label_unitcyh.setObjectName("label_unitcyh")

        # 程一航-单元测试模块-测试按钮1
        self.pushButton_unitcyh1 = QtWidgets.QPushButton(self.groupBox_unitcyh)
        self.pushButton_unitcyh1.setGeometry(QtCore.QRect(50, 50, 100, 50))
        self.pushButton_unitcyh1.setObjectName("pushButton_unitcyh1")
        self.pushButton_unitcyh1.setIcon(QIcon("./icons/test.png"))

        # 程一航-单元测试模块-测试按钮2
        self.pushButton_unitcyh2 = QtWidgets.QPushButton(self.groupBox_unitcyh)
        self.pushButton_unitcyh2.setGeometry(QtCore.QRect(180, 50, 100, 50))
        self.pushButton_unitcyh2.setObjectName("pushButton_unitcyh2")
        self.pushButton_unitcyh2.setIcon(QIcon("./icons/test.png"))

        # 程一航-集成测试模块
        self.groupBox_integrationcyh = QtWidgets.QGroupBox(self.tab_cyh)
        self.groupBox_integrationcyh.setGeometry(QtCore.QRect(10, 250, 300, 230))
        self.groupBox_integrationcyh.setObjectName("groupBox_integrationcyh")
        self.groupBox_integrationcyh.setStyleSheet("background-color: #FFE384")  # 粉黄

        # 程一航-集成测试模块-标签
        self.label_integrationcyh = QtWidgets.QLabel(self.groupBox_integrationcyh)
        self.label_integrationcyh.setGeometry(QtCore.QRect(10, 10, 100, 20))
        self.label_integrationcyh.setObjectName("label_integrationcyh")

        # 程一航-集成测试模块-测试按钮1
        self.pushButton_integrationcyh1 = QtWidgets.QPushButton(self.groupBox_integrationcyh)
        self.pushButton_integrationcyh1.setGeometry(QtCore.QRect(50, 50, 100, 50))
        self.pushButton_integrationcyh1.setObjectName("pushButton_integrationcyh1")
        self.pushButton_integrationcyh1.setIcon(QIcon("./icons/test.png"))

        # 程一航-集成测试模块-测试按钮2
        self.pushButton_integrationcyh2 = QtWidgets.QPushButton(self.groupBox_integrationcyh)
        self.pushButton_integrationcyh2.setGeometry(QtCore.QRect(180, 50, 100, 50))
        self.pushButton_integrationcyh2.setObjectName("pushButton_integrationcyh2")
        self.pushButton_integrationcyh2.setIcon(QIcon("./icons/test.png"))

        # 程一航-组合测试模块
        self.groupBox_combinatorialcyh = QtWidgets.QGroupBox(self.tab_cyh)
        self.groupBox_combinatorialcyh.setGeometry(QtCore.QRect(320, 250, 270, 230))
        self.groupBox_combinatorialcyh.setObjectName("groupBox_combinatorialcyh")
        self.groupBox_combinatorialcyh.setStyleSheet("background-color: #FFE384")  # 粉黄

        # 程一航-组合测试模块-标签
        self.label_combinatorialcyh = QtWidgets.QLabel(self.groupBox_combinatorialcyh)
        self.label_combinatorialcyh.setGeometry(QtCore.QRect(10, 10, 100, 20))
        self.label_combinatorialcyh.setObjectName("label_combinatorialcyh")

        # 程一航-组合测试模块-测试按钮
        self.pushButton_combinatorialcyh = QtWidgets.QPushButton(self.groupBox_combinatorialcyh)
        self.pushButton_combinatorialcyh.setGeometry(QtCore.QRect(50, 50, 100, 50))
        self.pushButton_combinatorialcyh.setObjectName("pushButton_combinatorialcyh")
        self.pushButton_combinatorialcyh.setIcon(QIcon("./icons/test.png"))

        MainWindow.setCentralWidget(self.centralwidget)
        # QtCore.QMetaObject.connectSlotsByName(MainWindow)
        self.retranslateUi(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "Our Automated—Testing Project"))

        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_free), _translate("MainWindow", "自由测试"))
        self.label_url.setText(_translate("MainWindow", "输入url"))
        # self.pushButton_url.setText(_translate("MainWindow", "确认url"))
        self.label_trigger.setText(_translate("MainWindow", "待测组件"))
        self.label_trigger1.setText(_translate("MainWindow", "选择搜索方式"))
        self.label_trigger2.setText(_translate("MainWindow", "选择触发方式"))
        self.label_detect.setText(_translate("MainWindow", "判定组件"))
        self.label_detect1.setText(_translate("MainWindow", "选择搜索方式"))
        self.pushButton_determine.setText((_translate("MainWindow", "确定")))

        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_performance), _translate("MainWindow", "性能测试"))
        self.label_performance.setText(_translate("MainWindow","性能测试"))
        self.pushButton_performance.setText((_translate("MainWindow", "性能测试")))
        self.pushButton_checkreports.setText((_translate("MainWindow", "查看报告")))

        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_hyh), _translate("MainWindow", "胡宇桁"))
        self.label_unithyh.setText(_translate("MainWindow", "单元测试"))
        self.pushButton_unithyh1.setText((_translate("MainWindow", "单元测试1")))
        self.pushButton_unithyh2.setText((_translate("MainWindow", "单元测试2")))
        self.label_integrationhyh.setText(_translate("MainWindow", "集成测试"))
        self.pushButton_integrationhyh1.setText((_translate("MainWindow", "集成测试1")))
        self.pushButton_integrationhyh2.setText((_translate("MainWindow", "集成测试2")))
        self.label_combinatorialhyh.setText(_translate("MainWindow", "组合测试"))
        self.pushButton_combinatorialhyh.setText((_translate("MainWindow", "组合测试")))

        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_xzy), _translate("MainWindow", "许中洋"))
        self.label_unitxzy.setText(_translate("MainWindow", "单元测试"))
        self.pushButton_unitxzy1.setText((_translate("MainWindow", "单元测试1")))
        self.pushButton_unitxzy2.setText((_translate("MainWindow", "单元测试2")))
        self.label_integrationxzy.setText(_translate("MainWindow", "集成测试"))
        self.pushButton_integrationxzy1.setText((_translate("MainWindow", "集成测试1")))
        self.pushButton_integrationxzy2.setText((_translate("MainWindow", "集成测试2")))
        self.label_combinatorialxzy.setText(_translate("MainWindow", "组合测试"))
        self.pushButton_combinatorialxzy.setText(_translate("MainWindow", "组合测试"))

        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_lj), _translate("MainWindow", "罗健"))
        self.label_unitlj.setText(_translate("MainWindow", "单元测试"))
        self.pushButton_unitlj1.setText((_translate("MainWindow", "单元测试1")))
        self.pushButton_unitlj2.setText((_translate("MainWindow", "单元测试2")))
        self.label_integrationlj.setText(_translate("MainWindow", "集成测试"))
        self.pushButton_integrationlj1.setText((_translate("MainWindow", "集成测试1")))
        self.pushButton_integrationlj2.setText((_translate("MainWindow", "集成测试2")))
        self.label_combinatoriallj.setText(_translate("MainWindow", "组合测试"))
        self.pushButton_combinatoriallj.setText(_translate("MainWindow", "组合测试"))

        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_qcr), _translate("MainWindow", "乔崇睿"))
        self.label_unitqcr.setText(_translate("MainWindow", "单元测试"))
        self.pushButton_unitqcr1.setText((_translate("MainWindow", "单元测试1")))
        self.pushButton_unitqcr2.setText((_translate("MainWindow", "单元测试2")))
        self.label_integrationqcr.setText(_translate("MainWindow", "集成测试"))
        self.pushButton_integrationqcr1.setText((_translate("MainWindow", "集成测试1")))
        self.pushButton_integrationqcr2.setText((_translate("MainWindow", "集成测试2")))
        self.label_combinatorialqcr.setText(_translate("MainWindow", "组合测试"))
        self.pushButton_combinatorialqcr.setText(_translate("MainWindow", "组合测试"))

        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_hjw), _translate("MainWindow", "胡菁文"))
        self.label_unithjw.setText(_translate("MainWindow", "单元测试"))
        self.pushButton_unithjw1.setText((_translate("MainWindow", "单元测试1")))
        self.pushButton_unithjw2.setText((_translate("MainWindow", "单元测试2")))
        self.label_integrationhjw.setText(_translate("MainWindow", "集成测试"))
        self.pushButton_integrationhjw1.setText((_translate("MainWindow", "集成测试1")))
        self.pushButton_integrationhjw2.setText((_translate("MainWindow", "集成测试2")))
        self.label_combinatorialhjw.setText(_translate("MainWindow", "组合测试"))
        self.pushButton_combinatorialhjw.setText(_translate("MainWindow", "组合测试"))

        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_cyh), _translate("MainWindow", "程一航"))
        self.label_unitcyh.setText(_translate("MainWindow", "单元测试"))
        self.pushButton_unitcyh1.setText((_translate("MainWindow", "单元测试1")))
        self.pushButton_unitcyh2.setText((_translate("MainWindow", "单元测试2")))
        self.label_integrationcyh.setText(_translate("MainWindow", "集成测试"))
        self.pushButton_integrationcyh1.setText((_translate("MainWindow", "集成测试1")))
        self.pushButton_integrationcyh2.setText((_translate("MainWindow", "集成测试2")))
        self.label_combinatorialcyh.setText(_translate("MainWindow", "组合测试"))
        self.pushButton_combinatorialcyh.setText(_translate("MainWindow", "组合测试"))

